package com.ziven.learn;

import com.ziven.easygo.design.proxy.Proxy;

import java.util.Random;

/**
 * @author Ziven
 */
public final class LearnUtils {

    private static final int[] COLORS = {
            0xFFE2D849, 0xFF93D5DC, 0xFF2A5CAA, 0xFFEEA2A4, 0xFFC06F98
    };

    private static final Random RANDOM = new Random();

    public static final LearnInterface3 CALL_FACTORY = Proxy.proxy(LearnInterface3.class);

    private LearnUtils() {}

    public static int color() {
        return COLORS[RANDOM.nextInt(COLORS.length)];
    }
}
